<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="${basePath }">
<title>文件上传</title>

</head>

<body>
	<s:fielderror></s:fielderror>

	<form action="fileUpload" method="post" enctype="multipart/form-data">
		<input type="file"> <br /> <input type="submit">
	</form>

	<s:form action="fileUpload" method="post" enctype="mulitpart/form-data">
		<s:file name="fileName"></s:file>
		<s:submit></s:submit>
	</s:form>

	<center>
		<font color="red"><s:fielderror />
		</font>
		<s:form action="fileUploadList" method="post" enctype="multipart/form-data">
			<s:file name="file" label="文件1"></s:file>
			<s:file name="file" label="文件2"></s:file>
			<s:file name="file" label="文件3"></s:file>
			<s:file name="file" label="文件4"></s:file>
			<s:submit label="上传" />
		</s:form>
	</center>
</body>
</html>
